package com.fashion.service;

import com.fashion.model.NewsSource;

import java.util.List;

/**
 * User: gnyk
 * Date: 13-2-23
 */
public interface NewsSourceService extends BaseService {
    List<NewsSource> findAllNewsSources();

    List<NewsSource> searchNewsSource(String newsSourceTitle, int page, int rows);

    int countNewsSource(String newsSourceTitle);

    NewsSource getNewsSourceById(String id);

    String testNewsSource(NewsSource source);
}
